<?php
require_once dirname(__FILE__) . '/Components.php';

class Smarty_Components_Jquery extends Smarty_Components
{
	//static public $USED;

	const TEMPLATE_NAME = 'jqueryJs.tpl';

	public function __construct($sCompileDir, $sCompileId) {
		parent::__construct(dirname(__FILE__), $sCompileDir, $sCompileId);
	}

	public function fetch()
	{
		/*
		if ( self::$USED == TRUE ) {
			return '';
		}
		self::$USED = TRUE;
		*/
		$sHtml = parent::fetch(self::TEMPLATE_NAME);
		return $sHtml;
	}
}